<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航页</title>
</head>

<body>
    <div id="app">
        <ul>
            <li v-for="obj in objs">
                <p v-html="obj"></p>
            </li>
        </ul>

    </div>
    <!-- vue开发环境版本，包含了s有帮助的命令行警告(相当于导入包) -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <script>
        var app = new Vue({
            el: '#app', //el挂载点指向id为app
            data: {
                objs: ['<a href="./xiaohei/xiaohei.html">小黑记事本</a>','<a href="./tupianqiehuan/tupian.html">图片切换</a>'] //传入的数据
            }
        })
    </script>
</body>

</html>